package com.lsh.service;

import org.springframework.mail.SimpleMailMessage;

import java.io.File;

/**
 * 邮件发送业务
 * @author Administrator
 * @date 2019/11/08 17:40
 */
public interface EmailService {

    // 发送简单邮件
    void sendSimpleMail(String to, String subject, String content);

    // 发送带html邮件
    void sendHtmlMail(String to, String subject, String content);

    //发送带附件邮件
    void sendAttachFileMail(String to, String subject, String content, File file);
}
